
class OtherTopThirtyBean {
  List<Data>? data;
  String? msg;
  int? status;

  OtherTopThirtyBean({this.data, this.msg, this.status});

  OtherTopThirtyBean.fromJson(Map<String, dynamic> json) {
    if (json['data'] != null) {
      data = <Data>[];
      json['data'].forEach((v) {
        data!.add(new Data.fromJson(v));
      });
    }
    msg = json['msg'];
    status = json['status'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.data != null) {
      data['data'] = this.data!.map((v) => v.toJson()).toList();
    }
    data['msg'] = this.msg;
    data['status'] = this.status;
    return data;
  }
}

class Data {
  String? cMCODE;
  String? cMNAME;
  int? cOUNT;

  Data({this.cMCODE, this.cMNAME, this.cOUNT});

  Data.fromJson(Map<String, dynamic> json) {
    cMCODE = json['CM_CODE'];
    cMNAME = json['CM_NAME'];
    cOUNT = json['COUNT'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['CM_CODE'] = this.cMCODE;
    data['CM_NAME'] = this.cMNAME;
    data['COUNT'] = this.cOUNT;
    return data;
  }
}
